<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>权限错误</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #f8f9fa;
            font-family: 'Arial', sans-serif;
        }
        .error-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            text-align: center;
        }
        .error-card {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 40px;
            max-width: 500px;
            width: 100%;
        }
        .error-card h1 {
            font-size: 2.5rem;
            font-weight: bold;
            color: #e74c3c;
        }
        .error-card p {
            font-size: 1.2rem;
            color: #555;
        }
        .error-icon {
            font-size: 4rem;
            color: #e74c3c;
            margin-bottom: 20px;
        }
        .btn-return {
            background-color: #3498db;
            color: white;
            font-size: 1rem;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            margin-top: 20px;
            transition: background-color 0.3s;
        }
        .btn-return:hover {
            background-color: #2980b9;
        }
    </style>
</head>
<body>

<div class="error-container">
    <div class="error-card">
        <!-- 可使用 Font Awesome 图标 -->
        <div class="error-icon">
            <i class="bi bi-exclamation-circle"></i>
        </div>
        <h1>权限不足</h1>
        <p>抱歉，您没有权限访问此页面。请联系管理员或返回登录。</p>
        <a href="/login" class="btn-return">返回登录</a>
    </div>
</div>

<!-- Bootstrap 5 的图标库支持 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.min.js"></script>
</body>
</html>
